package com.example.patient.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/20 17:36
 * @Version 1.0
 */
@Data
@ApiModel(value = "科室返回体")
public class DepListResp implements Serializable {
    private static final long serialVersionUID = 6202004224591299238L;

    @ApiModelProperty(value = "dep")
    @JSONField(name = "dep")
    private List<DepResp> dep;

    @Data
    public static class DepResp implements Serializable {
        private static final long serialVersionUID = 6957089832858127445L;

        @ApiModelProperty(value = "id")
        @JSONField(name = "ID")
        private Long id;
        @ApiModelProperty(value = "name")
        @JSONField(name = "Name")
        private String name;
        @ApiModelProperty(value = "label")
        @JSONField(name = "Label")
        private Integer label;
    }
}
